<div class="main">
    <div class="leftcolumn">
        <div class="bxdetail">
            <h2 class="tleprocategories"><span>Dự án mới</span></h2>
            <div class="listproject">
                <?php if ($project): ?>
                    <ul>
                        <?php foreach ($project as $key => $value):
                            if ($key == 0):
                                ?>
                                <li><a href="<?=Yii::app()->baseUrl?>/du-an/<?=$value['slug']?>.html">
                                        <img alt="<?= $value['name'] ?>" src="<?= Yii::app()->baseUrl ?>/timthumb.php?src=<?= Yii::app()->baseUrl ?>/data/cover/<?= $value['cover_image'] ?>&h=380&w=455"/>
                                        <h2><?=$value['name']?></h2>
                                        <?=$value['short_description']?>
                                    </a>
                                </li>
        <?php else: ?>
                                <li><a href="<?=Yii::app()->baseUrl?>/du-an/<?=$value['slug']?>.html">
                                        <img alt="<?= $value['name'] ?>" src="<?= Yii::app()->baseUrl ?>/timthumb.php?src=<?= Yii::app()->baseUrl ?>/data/cover/<?= $value['cover_image'] ?>&h=380&w=455"/>
                                        <h2><?=$value['name']?></h2>
                                    </a></li>
                            <?php endif;
                        endforeach;
                        ?>
                    </ul>
<?php endif; ?>
            </div>
        </div>
    </div>

<?php $this->widget('SidebarWidget'); ?>
</div>